//
//  MainViewController.m
//  RacSignal
//
//  Created by Pro on 2018/5/2.
//  Copyright © 2018年 Pro. All rights reserved.
//

#import "MainViewController.h"

#import "ReactiveObjC.h"

@interface MainViewController ()

@end

@implementation MainViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [[[NSNotificationCenter defaultCenter] rac_addObserverForName:UIApplicationDidBecomeActiveNotification object:nil] subscribeNext:^(NSNotification * _Nullable x) {
        NSLog(@"%@",x);
    }];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}



@end
